|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Gilbert T
Gallente Doom Guard
|
Posted - 2009.02.24 20:51:00 -
[1]
I am unable to patch for the test server ATM. I am using wine 1.1.12 on Gentoo AMD64 with nvidia-drivers 177.82 and an old mesa library i may update later today.
The patch downloads fine, and then comes up to "downloading" and flickers a lot. It downloads some files and then deletes them and sits there doing nothing. I ran wireshark and determined that it was downloading http://ccp.vo.llnwd.net/o2/test/EVEPREMIUM.5.20.75883-6.10.81170_TEST.RTP so now I'm downloading it with wget instead. Anybody have any idea what to do with it now? Or, perhaps another solution?
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.02.24 22:51:00 -
[2]
Originally by: Sevarus James
This has been mentioned in the apoc thread in the game dev forum. Some people (not just us) are having issues with the patcher. The solution is simple. download the patcher manually via the link in the thread. download the RTP file manually via the link in the thread.
make sure you have the updated vcrun stuff mentioned in this forum. Then, with the patcher and the RTP file in the SAME DIRECTORY, you run the patcher. It will find the RTP file after you give it the directory you wish to update and it will run.
Thank you very much, Sev. I think you should be on CCP's payroll. :)
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.02.25 03:05:00 -
[3]
I got it working now, but I can't see any ship, station, gate models. I see planets and the background, and I see the ship controls and menus, but nothing else. Is there a way to fix this?
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.02.25 05:01:00 -
[4]
Originally by: Mes Ren
If you are using a 6x or 7x series nvidia card, not likely. I'm having the same issues, as is pretty much everyone that I have come across that is trying to run eve-sisi under wine.
so buy an 8x series card, then?
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.02.27 05:42:00 -
[5]
Originally by: DoRamius
Quote: Mind telling me exactly what I'm not supposed to change in directx.c? You know, so I don't do it. 
Kittens may die, your vid card / computer / house etc may burst into flames etc...
in dlls/wined3d/directx.c
find the line such that: gl_info->vs_glsl_constantsF - (MAX_CONST_B / 4) - MAX_CONST_I - 1;
and change it to: gl_info->vs_glsl_constantsF - (MAX_CONST_B / 4) - 1;
This will provide enough spare uniforms for the shaders to compile.
Replace your wined3d.dll.so with the newly compiled one (make a backup of your existing one). If your using a binary package it may be located in /usr/lib/wine.
** This will affect any other wine programs you run as your replacing this system wide.
Background:
I don't know enough to speak intelligently on this topic, but.... Your card, via the openGL spec, has a value for GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB. This value for 7x series cards is 1024. This is the number of uniforms that can be used by a single shader program.
Wine reserves a fixed number of these. gl_info->vs_glsl_constantsF == # of MAX_UNIFORM_ARBS from your HW (1024 on 7x series cards) divided by 4
The above on a 7x series card = 256 available vec4 uniforms.
so gl_info->vs_glsl_constantsF = 256 on a 7x card
MAX_CONST_B is the number of boolean uniforms to reserve. MAX_CONST_B is statically defined as 16, the divide by 4 is because the boolean size is 1 byte.
MAX_CONST_I is the number of integer uniforms to reserve. Here again the statically reserved # is 16. Each integer size is 4 bytes. << this is where you lose most of the space for the vec4 array.
And then -1 for another set of vars....
This leads to a max vec4 array size of 235. If any shader program indexes a vec4 array beyond this the shader will not compile. You get a glsl error from the compiler and no nothing is displayed when that shader is called for.
Since wine does not auto adjust how many bools or ints that are required for each shader. You get a hard limit of 235. Some shaders in the apoc client attempt to index up to 246 ... based on the DX9 to GLSL translation.
This means at a minimum you need the shader to be defined with a uniform vec4 VC[247]; as the initializaton portion. Otherwise bigger shaders will just not compile.
Removing the uniform INT reservation provides this room. Giving 235 + 16 = 251 available vec4's for the array.
Drawbacks: Scanning the shaders via the wine debug output no VI or VB declarations were found. As long as that continues to remain the case this *should* work for the short term.
If VI's exist (as not every shader is exposed to the client until its needed) then if enough of them + vec4 array indexes are used then you'd have an overwriting of the card memory. While it's unlikely it's possible that you could brick your card.
If its not a true HW limit .. nvidia could increase the available uniforms that are reported through glxinfo -l, or wine will have to change the implementation of the glsl dynamic reservation of ints and bools as they are used the shader. Which would allow the vec4 array to grow and shrink based on bool / int usage (per shader).
Thanks. I'll make sure not to try that either 
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.02.27 06:13:00 -
[6]
BTW, what wine versions are you guys using? I'm switching to the git sources...
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.03.01 00:43:00 -
[7]
For those who may care. I actually did do (sort of) the hack that was suggested we not do and it does seem to work (with the git sources at least). The method I used was changing the macro MAX_CONST_I to 0 in two places in the dlls/winedd3d/wined3d_private.h file. I'll be checking to see if I can see the gates and everything as soon as the latest patch finishes installing.
On the subject of the broken patcher, I've written a small shell script for this which may or may not be of any value to anyone but I am going to post it here anyway. If the location of the patches, the "6.10" in the filenames, or anything else like that changes, this will not work any more.
#!/bin/bash
read -p 'Current Release #: ' cur_rel read -p 'Desired Release #: ' des_rel
if [ -z "$cur_rel" -o -z "$des_rel" ]; then echo "Terminated" exit 1 fi
filename="EVEPREMIUM.6.10.${cur_rel}-6.10.${des_rel}_TEST.RTP"
cd "${HOME}/.wine/drive_c/windows/profiles/${USER}/Local Settings/Application Data/CCP/EVE/c_program_files_ccp_evesisi_87.237.38.50/cache/"
[ -f "${filename}" ] || wget "http://ccp.vo.llnwd.net/o2/test/${filename}"
if [ ! -f "${filename}" ]; then echo "Download Failed" exit 2 fi
wine "C:\\windows\\profiles\\${USER}\\Local Settings\\Application Data\\CCP\\EVE\\c_program_files_ccp_evesisi_87.237.38.50\\cache\\evepremiumpatch${cur_rel}-${des_rel}_test.exe"
# end of script
Also, this script ONLY downloads the RTP file and then reruns the patch. The way I do it is I wait for the broken installer to start and look for the place where it says downloading AAAAA-BBBBB patch, and then I run the script and enter the numbers when prompted (the AAAAA and BBBBB numbers). And then I kill the broken installer while it's downloading the patch. Hmm, maybe a little "killall the_long_list_of_processes_to_kill" line would be a nice addition... But anyway, there's my tiny contribution if anyone is interested who can't script themselves.
BTW, you will, of course, need to clean that up since the forums will undoubtedly wordwrap it and I'm not sure if there's anything like a <pre> tag I Can use here.
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.03.01 00:50:00 -
[8]
Originally by: Sevarus James Edited by: Sevarus James on 28/02/2009 17:37:19 New build 6.10.82390 is now out. The combined patcher works for the incremental upgrade from the game dev patches sticky.
I missed this before my last post, was this a hint that there is a way to get the installer to function now? A link please, anyone?
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.03.06 19:37:00 -
[9]
IDK if it's just me, but I can't seem to figure out what the URL for the RTP file is for this last patch, and the installer still isn't downloading them (not flickering any more, though). I can't seem to find that one thread with the RTP links on it any more...
|

Gilbert T
Gallente Doom Guard
|
Posted - 2009.03.19 16:38:00 -
[10]
84609-85092 RTP File
|
|

Gilbert T
Gallente Fulcrum Mercenary Services
|
Posted - 2009.03.27 12:56:00 -
[11]
evesisi_patcher script for anyone who wants to make this easier for themselves: Assumes the evesisi directory is Program Files/EVESISI, you could change that or just symlink it to what you want.
#!/bin/bash
#echo "available patches: " #curl -s http://games.chruker.dk/eve_online/server_status.php | grep -o 'evepremiumpatch[0-9]\{5\}-[0-9]\{5\}_test.exe' | cut -c 16-26
current_build="`egrep '^build=' "${HOME}/.wine/drive_c/Program Files/CCP/EVESISI/common.ini" | tr -d "\r" | cut -d= -f2`" echo "Current build for EVESISI/common.ini: ${current_build}"
echo "available patches: (for your build) " curl -s http://games.chruker.dk/eve_online/server_status.php | grep -o 'evepremiumpatch[0-9]\{5\}-[0-9]\{5\}_test.exe' | cut -c 16-26 | egrep "^${current_build}"
read -p 'Current Release #: ' cur_rel read -p 'Desired Release #: ' des_rel
if [ -z "$cur_rel" -o -z "$des_rel" ]; then echo "Terminated" exit 1 fi
rtp_filename="EVEPREMIUM.6.10.${cur_rel}-6.10.${des_rel}_TEST.RTP" exe_filename="evepremiumpatch${cur_rel}-${des_rel}_test.exe"
# kill running processes if any killall -9 "${exe_filename}" 1>/dev/null 2>/dev/null
# cd to the directory where the files go cd "${HOME}/.wine/drive_c/windows/profiles/${USER}/Local Settings/Application Data/CCP/EVE/c_program_files_ccp_evesisi_87.237.38.50/cache/"
# download the exe if it doesn't exist [ -f "${exe_filename}" ] || wget "http://ccp.vo.llnwd.net/o2/test/${exe_filename}"
if [ ! -f "${exe_filename}" ]; then echo "EXE Download Failed" exit 2 fi
#download the rtp if it doesn't exist [ -f "${rtp_filename}" ] || wget "http://ccp.vo.llnwd.net/o2/test/${rtp_filename}"
if [ ! -f "${rtp_filename}" ]; then echo "RTP Download Failed" exit 2 fi
# run the exe file now #wine "C:\\windows\\profiles\\${USER}\\Local Settings\\Application Data\\CCP\\EVE\\c_program_files_ccp_evesisi_87.237.38.50\\cache\\evepremiumpatch${cur_rel}-${des_rel}_test.exe" wine "C:/windows/profiles/${USER}/Local Settings/Application Data/CCP/EVE/c_program_files_ccp_evesisi_87.237.38.50/cache/evepremiumpatch${cur_rel}-${des_rel}_test.exe" "C:/windows/profiles/${USER}/Local Settings/Application Data/CCP/EVE/c_program_files_ccp_evesisi_87.237.38.50/cache/evepremiumpatch${cur_rel}-${des_rel}_test.exe" "/path=C:/Program Files/CCP/EVESISI/"
|
|
|
|